﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage/admin/admin.master" AutoEventWireup="true" CodeBehind="GroupTypeEdit.aspx.cs" 
    Inherits="web.admin.GroupTypeEdit" Title="圈子分类编辑" %>
    
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table class="SubMenu_Item" cellspacing="0" cellpadding="0" width="100%" border="0">
        <tbody>
            <tr>
                <td>
                    <table cellspacing="0" cellpadding="0" border="0">
                        <tbody>
                            <tr>
                                <td class="Current_Item" id="TD2">修改圈子分类</td>
                            </tr>
                        </tbody>
                    </table>
                </td>
            </tr>
        </tbody>
    </table>
    
    <table cellspacing="0" cellpadding="0" width="100%" border="0">
        <tbody>
	        <tr>
	            <td>
	                <asp:Label ID="errorMsg" Visible="false" Text="" runat="server" ForeColor="red"/>
                     <asp:DetailsView ID="groupTypeInfo" runat="server" AutoGenerateRows="False" SkinID="orange" DataKeyNames="Id" 
                        DefaultMode="Edit" >
                        <Fields>
                            <asp:TemplateField HeaderText="圈子分类名称：" >
                                <EditItemTemplate>
                                    <asp:TextBox ID="GroupTypeName" Text='<%# Eval("GroupTypeName")%>' runat="server" width="300"/>
                                </EditItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="圈子分类Logo路径：" >
                                <EditItemTemplate>
                                    <asp:TextBox ID="Logo" Text='<%# Eval("Logo")%>' runat="server" width="300"/>
                                </EditItemTemplate>
                            </asp:TemplateField>                            
                            <asp:TemplateField HeaderText="圈子分类简介：" >
                                <EditItemTemplate>
                                    <asp:TextBox ID="Introduction" runat="server" TextMode="MultiLine" Text='<%# Eval("Introduction")%>' width="750" height="300"/>
                                </EditItemTemplate>
                            </asp:TemplateField>                             
                            <asp:TemplateField>
                                 <EditItemTemplate>
                                    <asp:Button ID="UpdateButton" runat="server"  CausesValidation="True" Text="修改" OnClick="UpdateButton_click"/> &nbsp;
                                    <asp:Button ID="UpdateCancelButton" runat="server" CausesValidation="False" Text="取消" OnClick="CancelButton_click"/>
                                </EditItemTemplate>
                            </asp:TemplateField>
                        </Fields>
                    </asp:DetailsView>                   
	            </td>
	        </tr> 	    
	    </tbody>
    </table>	              
</asp:Content>
